import request from '@/utils/request';

export async function getTechnicalSupportByPage(params: any) {
  return request('/api/sales/getTechnicalSupportByPage', {
    method: 'POST',
    data: params,
  });
}


export async function getTechnicalSupportById(params: any) {
  return request('/api/sales/getTechnicalSupportById', {
    method: 'POST',
    data: params,
  });
}
export async function addTechnicalSupport(params: any) {
  return request('/api/sales/addTechnicalSupport', {
    method: 'POST',
    data: params,
  });
}

export async function delTechnicalSupport(params: any) {
  return request('/api/sales/delTechnicalSupport', {
    method: 'POST',
    data: params,
  });
}

export async function updateTechnicalSupport(params: any) {
  return request('/api/sales/updateTechnicalSupport', {
    method: 'POST',
    data: params,
  });
}
